# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年09月02日
"""
import numpy as np

# a = np.arange(10)
A = np.arange(20).reshape(4, 5)
#
# print(a[3:9])

b = np.array([
	[0, 1, 2, 3, 4],
	[5, 6, 7, 8, 9],
	[10, 11, 12, 13, 14],
	[15, 16, 17, 18, 19]
])

# print(b[0, 0])
# print(b[-1, 2])
# print(b[2])
# print(b[-1])
# print(b[0:-1])
# print(b[0:2, 2:4])
print(b[:, 2])
print(b[:, 2:4])






